Optimal. Leaf size=21 \[ \frac {1}{3 f \left (a \cos ^2(e+f x)\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3255, 3284, 16,
32} \begin {gather*} \frac {1}{3 f \left (a \cos ^2(e+f x)\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 32
Rule 3255
Rule 3284
Rubi steps
\begin {align*} \int \frac {\tan (e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx &=\int \frac {\tan (e+f x)}{\left (a \cos ^2(e+f x)\right )^{3/2}} \, dx\\ &=-\frac {\text {Subst}\left (\int \frac {1}{x (a x)^{3/2}} \, dx,x,\cos ^2(e+f x)\right )}{2 f}\\ &=-\frac {a \text {Subst}\left (\int \frac {1}{(a x)^{5/2}} \, dx,x,\cos ^2(e+f x)\right )}{2 f}\\ &=\frac {1}{3 f \left (a \cos ^2(e+f x)\right )^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 21, normalized size = 1.00 \begin {gather*} \frac {1}{3 f \left (a \cos ^2(e+f x)\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 21, normalized size = 1.00
method | result | size |
derivativedivides | \(\frac {1}{3 \left (a -a \left (\sin ^{2}\left (f x +e \right )\right )\right )^{\frac {3}{2}} f}\) | \(21\) |
default | \(\frac {1}{3 \left (a -a \left (\sin ^{2}\left (f x +e \right )\right )\right )^{\frac {3}{2}} f}\) | \(21\) |
risch | \(\frac {8 \,{\mathrm e}^{2 i \left (f x +e \right )}}{3 f \sqrt {\left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )^{2} a \,{\mathrm e}^{-2 i \left (f x +e \right )}}\, \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )^{2} a}\) | \(57\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 101 vs.
\(2 (18) = 36\).
time = 0.56, size = 101, normalized size = 4.81 \begin {gather*} \frac {\frac {1}{\sqrt {-a \sin \left (f x + e\right )^{2} + a} a \sin \left (f x + e\right ) + \sqrt {-a \sin \left (f x + e\right )^{2} + a} a} - \frac {1}{\sqrt {-a \sin \left (f x + e\right )^{2} + a} a \sin \left (f x + e\right ) - \sqrt {-a \sin \left (f x + e\right )^{2} + a} a}}{6 \, f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.43, size = 28, normalized size = 1.33 \begin {gather*} \frac {\sqrt {a \cos \left (f x + e\right )^{2}}}{3 \, a^{2} f \cos \left (f x + e\right )^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\tan {\left (e + f x \right )}}{\left (- a \left (\sin {\left (e + f x \right )} - 1\right ) \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.66, size = 23, normalized size = 1.10 \begin {gather*} \frac {{\left (a \tan \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}}}{3 \, a^{3} f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 18.31, size = 72, normalized size = 3.43 \begin {gather*} \frac {16\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\sqrt {a-a\,{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}^2}}{3\,a^2\,f\,{\left ({\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}+1\right )}^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________